//
//  model.m
//  11213tableview
//
//  Created by 小白 on 16/3/7.
//  Copyright © 2016年 小白. All rights reserved.
//

#import "Model.h"

@implementation Model
-(instancetype)initWithDictionary:(NSDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
+(instancetype)modelWithDictionary:(NSDictionary *)dic{

    return [[self alloc]initWithDictionary:dic];
}

@end
